package mdt.ext;

import org.tigris.gef.base.ModeCreateFigInk;
import org.tigris.gef.presentation.Fig;
import org.tigris.gef.presentation.FigInk;

import java.awt.event.MouseEvent;

/**
 * Created by xiaobyu on 7/19/2016.
 */
public class ModeCreateFigInkExt extends ModeCreateFigInk {

    public Fig createNewItem(MouseEvent me, int snapX, int snapY) {
        FigInk p = new FigInkExt(snapX, snapY);
        _lastX = snapX;
        _lastY = snapY;
        return p;
    }
}
